﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Alos.Entity;

namespace Alos.IRepository
{
    public interface IReArrangeRecordRepository : IBaseRepository<ReArrangeRecord>
    {
        /// <summary>
        /// 添加发布记录表
        /// </summary>
        /// <param name="reArrangeRecord">发布记录表</param>      
        /// <returns></returns>
        bool CreateReArrangeRecord(ReArrangeRecord reArrangeRecord, string serviceIP);
        /// <summary>
        /// 修改发布记录表
        /// </summary>
        /// <param name="id">发布记录表ID</param>      
        /// <returns></returns>
        bool UpdateReArrangeRecord(int id);
        /// <summary>
        /// 根据ID查询发布记录表
        /// </summary>
        /// <param name="id">发布记录表id</param>      
        /// <returns></returns>
        ReArrangeRecord GetReArrangeRecord(int LessonID, int teacherid);
    }
}
